<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>添加管理</title>
    <link rel="stylesheet" type="text/css" href="_ADMIN_css/css.css" />
    <script type="text/javascript" src="_ADMIN_js/jquery.min.js"></script>
</head>
<body>
<div id="pageAll">
    <div class="pageTop">
        <div class="page">
            <img src="_ADMIN_img/coin02.png" /><span><a href="{:url('admin/index/main')}" target="main">首页</a>&nbsp;-&nbsp;
            <a href="{:url('admin/admin/admin')}" target="main">管理员管理</a>&nbsp;-</span>&nbsp;添加管理员
        </div>
    </div>
    <div class="page ">
        <!-- 上传广告页面样式 -->
        <div class="banneradd bor">
            <div class="baTop">
                <span>添加管理员</span>
            </div>
            <form action="{:url('admin/admin/update')}" method="post">
                <div class="baBody">
                    <input type="hidden" name="user_id" value="{$result['user_id']}">
                    <div class="bbD">
                        管理员姓名：<input type="text" class="input1" name="user_name"  value="{$result['user_name']}"/>
                    </div>
                    <div class="bbD">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;角色：
                        <select class="valid9" name="user_r_id" style="height: 40px" value="{$result['user_r_id']}">
                            <option class="sdererere" value ="2">推广部主管</option>
                            <option class="sdererere" value ="3">电话部主管</option>
                            <option class="sdererere" value="5">前台</option>
                            <option class="sdererere" value="6">咨询部主管</option>
                            <option class="sdererere" value ="8">预科</option>
                            <option class="sdererere" value ="9">教务部</option>
                            <option class="sdererere" value="10">项目开发部主管</option>
                            <option class="sdererere" value="12">项目设计部主管</option>
                            <option class="sdererere" value="14">就业部主管</option>
                        </select>
                    </div>
                    <div class="bbD">
                        <p class="bbDP">
                            <button class="btn_ok btn_yes" href="#">提交</button>
                            <a class="btn_ok btn_no" href="{:url('admin/admin/admin')}">取消</a>
                        </p>
                    </div>
                </div>
            </form>
        </div>

        <!-- 上传广告页面样式end -->
    </div>
</div>
</body>
    <script>
        var id="{$result['user_r_id']}";
        for (var i=0;i<9;i++){
            if($(".valid9").attr("value")==$(".sdererere").eq(i).attr("value")){
                $(".sdererere").eq(i).attr("selected","selected");
            }
        }
    </script>
</html>